#include<stdio.h>
void sum(int a,int b){
  int count=0;
  for(int i=a;i<=b;i++){
    count+=i;
  }
  printf("%d \n",count);
}
int main()
{
  sum(1,100);
  return 0;
}
